import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class User {
private int u_id;                 

private String idcard;              
private String name;            
private int phone;                
private int status;               
public int getStatus() {
	return status;
}
public void setStatus(int status) {
	this.status = status;
}
public int getPhone() {
	return phone;
}
public void setPhone(int phone) {
	this.phone = phone;
}
@Id
@GeneratedValue  
public int getU_id() {
	return u_id;
}
public void setU_id(int uId) {
	u_id = uId;
}
public String getIdcard() {
	return idcard;
}
public void setIdcard(String idcard) {
	this.idcard = idcard;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}

@Override
public String toString() {
	return "Customer [idcard=" + idcard + ", name=" + name + ", phone=" + phone
			+ ", status=" + status + ", u_id=" + u_id + "]";
}
}